<div class="portlet">
  <div class="portlet-header">
    <h1><%=t "profiles.show.title"%></h1>
  </div>

  <div class="portlet-content">
      <table>
        <tbody>
          <tr>
            <td> <%= label_tag t('activerecord.attributes.profile.reference') %> </td>
            <% if @profile.reference_type == 'Thematic' %>
              <td><%= h @profile.reference.name_to_local_language %></td>
            <% end %>
            <% if @profile.reference_type == 'Country' %>
              <td><%= @profile.reference.name %></td>
            <% end %>
          </tr>
          <tr>
            <td> <%= label_tag t('activerecord.attributes.profile.excluded') %> </td>
            <td> <%= h get_boolean_description(@profile.excluded) %> </td>
          </tr>

        </tbody>
      </table>
      <div class="line-links">
        <%= link_to t('btn_edit'), edit_contact_profile_path(@profile) %> |
        <%= link_to t('btn_back'), contact_profiles_redirect_back_path(contact_profiles_path) %>
      </div>
  </div>

  <div class="portlet-footer">
  </div>
</div>